import unittest
from UpdatePlat.Comparator import compare
from Class_TaskCenter import handle

class MyTestCase(unittest.TestCase):
    def test_Handler(self):
        url = "https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/x86_64/"
        update_suggestions = compare(url)
        # print(update_suggestions)
        handle(url, update_suggestions)


if __name__ == '__main__':
    unittest.main()
